package cn.jiyun.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class HelloController {
    @GetMapping("/hello")

    public Map<String,Object> hello(){
        Map<String,Object>map=new HashMap<>();
        map.put("name","牛华强");
        map.put("name1","一灯");
        map.put("name2","尹华");
        map.put("name3","咫尺");
        return map;
    }

}
